package com.pcbly.web.persistence.table;

/**
 * @author carl.song
 * Copyright (c) 2010 Lightsoft, International.
 * All rights reserved.
 *
 */
import java.util.List;

import com.pcbly.web.bean.table.ColumnPropertyBean;
import com.pcbly.web.persistence.BaseDao;
import com.pcbly.web.components.hibernate.support.Page;

public interface ColumnPropertyDao extends BaseDao<ColumnPropertyBean> {

	void removeColumnPropertyBeanByIds(String ids) throws Exception;

	void removeColumnPropertyBeanById(String id) throws Exception;

	ColumnPropertyBean saveColumnPropertyBean(ColumnPropertyBean table)
			throws Exception;

	Page<ColumnPropertyBean> findColumnPropertyBeanByCond(
			ColumnPropertyBean bean, Page<ColumnPropertyBean> page,
			String orderByName, boolean asc) throws Exception;

	List<ColumnPropertyBean> findColumnPropertyBeanByColumnId(String columnId,
			String iflag) throws Exception;
}